using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Dracham.GUI.Controls
{
    public class Label : Control
    {
        private String text;
        private SpriteFont spriteFont;
        private Vector2 position;
        private Color color;

        #region properties 

        public String Text
        {
            get { return text; }
            set { text = value; }
        }

        public SpriteFont SpriteFont
        {
            get { return spriteFont; }
            set { spriteFont = value; }
        }

        #endregion

        public Label(Vector2 position, Color color, SpriteFont spriteFont)
        {
            this.spriteFont = spriteFont;
            this.position = position;
            this.color = color;
        }

        public void Render(SpriteBatch spriteBatch, GameTime gameTime)
        {
            spriteBatch.DrawString(spriteFont, this.text, this.position, this.color);
        }

        public override void Update(Microsoft.Xna.Framework.GameTime gameTime, Microsoft.Xna.Framework.Input.MouseState mouseState, Microsoft.Xna.Framework.Input.KeyboardState keyboardState)
        {
            
        }
    }
}
